"use strict"
let fs = require('fs');
const path = require('path');
fs.writeFile(path.join(__dirname, 'a.txt'), '欢迎', function(err){
    if(err){
        throw err;
    }
    console.log('文件写入成功');
})